// TODO: Put public facing types in this file.

/// Checks if you are awesome. Spoiler: you are.
class Awesome {
  bool get isAwesome => true;
}
class Person {
  String firstName;
  Person(this.firstName);
}

class Employee extends Person {
  String employeeId;
  Employee(String firstName, this.employeeId) : super(firstName);

}

class Address {
  late String street;
  late String city;
  late String zipCode;

  Address() {
    street = '';
    city = '';
    zipCode = '';
  }
  void printAddress() {
    print('Street: $street, City: $city, Zip Code: $zipCode');
  }
}

// 定义 Person 类
class aPerson {
  late String name;
  late int age;
  late String email;
  late Address? address;

  aPerson() {
    name = '';
    age = 0;
    email = '';
    address = null;
  }

  void printInfo() {
    print('Name: $name, Age: $age, Email: $email');
    address?.printAddress();
  }
}